<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GraphPaths: Riferimenti per la classe elemento_ui</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GraphPaths
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Creazione di grafi e calcolo dei percorsi minimi</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classi</span></a></li>
      <li><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Elenco&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="classes.html"><span>Indice&#160;dei&#160;tipi&#160;composti</span></a></li>
      <li><a href="hierarchy.html"><span>Gerarchia&#160;delle&#160;classi</span></a></li>
      <li><a href="functions.html"><span>Membri&#160;dei&#160;composti</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Ridefinizioni di tipo (typedef)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Membri pubblici</a> &#124;
<a href="#pro-attribs">Attributi protetti</a> &#124;
<a href="classelemento__ui-members.html">Elenco di tutti i membri</a>  </div>
  <div class="headertitle">
<div class="title">Riferimenti per la classe elemento_ui</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="backup_2elemento__ui_8h_source.html">elemento_ui.h</a>&gt;</code></p>
<div class="dynheader">
Diagramma delle classi per elemento_ui</div>
<div class="dyncontent">
 <div class="center">
  <img src="classelemento__ui.png" usemap="#elemento_ui_map" alt=""/>
  <map id="elemento_ui_map" name="elemento_ui_map">
<area href="classarco.html" alt="arco" shape="rect" coords="0,56,79,80"/>
<area href="classgrafo.html" alt="grafo" shape="rect" coords="89,56,168,80"/>
<area href="classnodo.html" alt="nodo" shape="rect" coords="178,56,257,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Membri pubblici</h2></td></tr>
<tr class="memitem:a40f5ef1a30a1217ca84e1f775090b4c7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a40f5ef1a30a1217ca84e1f775090b4c7">elemento_ui</a> ()</td></tr>
<tr class="separator:a40f5ef1a30a1217ca84e1f775090b4c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0493292b0282a61b57f6ff651db628cf"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a0493292b0282a61b57f6ff651db628cf">~elemento_ui</a> ()</td></tr>
<tr class="separator:a0493292b0282a61b57f6ff651db628cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98e7ad302abc1681a5e0a7b1facd3213"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a98e7ad302abc1681a5e0a7b1facd3213">get_x</a> ()</td></tr>
<tr class="separator:a98e7ad302abc1681a5e0a7b1facd3213"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b50d6b0afb4411c652e77b67760ecd1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a7b50d6b0afb4411c652e77b67760ecd1">set_x</a> (gdouble val)</td></tr>
<tr class="separator:a7b50d6b0afb4411c652e77b67760ecd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae644078c8941aea0553894201b8df3ad"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#ae644078c8941aea0553894201b8df3ad">get_y</a> ()</td></tr>
<tr class="separator:ae644078c8941aea0553894201b8df3ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86e8479239496c2924b68283a553a541"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a86e8479239496c2924b68283a553a541">set_y</a> (gdouble val)</td></tr>
<tr class="separator:a86e8479239496c2924b68283a553a541"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ab317999e0e0fd8e387518507356731"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a9ab317999e0e0fd8e387518507356731">is_selected</a> ()</td></tr>
<tr class="separator:a9ab317999e0e0fd8e387518507356731"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7295f173d10999017bdb75367c6cb413"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a7295f173d10999017bdb75367c6cb413">set_selected</a> (gboolean val)</td></tr>
<tr class="separator:a7295f173d10999017bdb75367c6cb413"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06eb5f5ee083b2dabae7076d98b9bc38"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a06eb5f5ee083b2dabae7076d98b9bc38">is_over</a> ()</td></tr>
<tr class="separator:a06eb5f5ee083b2dabae7076d98b9bc38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7d306f0eac122a5bc03513e1bdeed8a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#ae7d306f0eac122a5bc03513e1bdeed8a">set_over</a> (gboolean val)</td></tr>
<tr class="separator:ae7d306f0eac122a5bc03513e1bdeed8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62a5a16895f32430e1e3b6918960ffbc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a62a5a16895f32430e1e3b6918960ffbc">set_over</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a62a5a16895f32430e1e3b6918960ffbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34b59ae1d798f0e2b7f83b5f109b8144"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a34b59ae1d798f0e2b7f83b5f109b8144">draw</a> (cairo_t *&amp;cr)</td></tr>
<tr class="separator:a34b59ae1d798f0e2b7f83b5f109b8144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f9504ff39d4de94d48394fae6265ec9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a5f9504ff39d4de94d48394fae6265ec9">update</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a5f9504ff39d4de94d48394fae6265ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90d114a53ee426d0b8860b6d2d9b0cfb"><td class="memItemLeft" align="right" valign="top">virtual gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a90d114a53ee426d0b8860b6d2d9b0cfb">intersect</a> (gdouble <a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a>, gdouble <a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a>)</td></tr>
<tr class="separator:a90d114a53ee426d0b8860b6d2d9b0cfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Attributi protetti</h2></td></tr>
<tr class="memitem:a819a2d328d2634ac037d42c7830023ca"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a819a2d328d2634ac037d42c7830023ca">x</a></td></tr>
<tr class="memdesc:a819a2d328d2634ac037d42c7830023ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata X dell'oggetto.  <a href="#a819a2d328d2634ac037d42c7830023ca">Continua...</a><br/></td></tr>
<tr class="separator:a819a2d328d2634ac037d42c7830023ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c322c97f219f4e15fdf683cbe14c447"><td class="memItemLeft" align="right" valign="top">gdouble&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a9c322c97f219f4e15fdf683cbe14c447">y</a></td></tr>
<tr class="memdesc:a9c322c97f219f4e15fdf683cbe14c447"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinata Y dell'oggetto.  <a href="#a9c322c97f219f4e15fdf683cbe14c447">Continua...</a><br/></td></tr>
<tr class="separator:a9c322c97f219f4e15fdf683cbe14c447"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85bb78cff2e277cefa95cc51919abfa2"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a85bb78cff2e277cefa95cc51919abfa2">selected</a></td></tr>
<tr class="memdesc:a85bb78cff2e277cefa95cc51919abfa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se l'oggetto è stato selezionato.  <a href="#a85bb78cff2e277cefa95cc51919abfa2">Continua...</a><br/></td></tr>
<tr class="separator:a85bb78cff2e277cefa95cc51919abfa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fd98a4e3bcaaf3aecd3b9c8785ea398"><td class="memItemLeft" align="right" valign="top">gboolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classelemento__ui.html#a6fd98a4e3bcaaf3aecd3b9c8785ea398">over</a></td></tr>
<tr class="memdesc:a6fd98a4e3bcaaf3aecd3b9c8785ea398"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indica se il mouse si trova sopra all'oggetto.  <a href="#a6fd98a4e3bcaaf3aecd3b9c8785ea398">Continua...</a><br/></td></tr>
<tr class="separator:a6fd98a4e3bcaaf3aecd3b9c8785ea398"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Documentazione dei costruttori e dei distruttori</h2>
<a class="anchor" id="a40f5ef1a30a1217ca84e1f775090b4c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">elemento_ui::elemento_ui </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Costruttore </p>

</div>
</div>
<a class="anchor" id="a0493292b0282a61b57f6ff651db628cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">elemento_ui::~elemento_ui </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Distruttore </p>

</div>
</div>
<h2 class="groupheader">Documentazione delle funzioni membro</h2>
<a class="anchor" id="a34b59ae1d798f0e2b7f83b5f109b8144"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void elemento_ui::draw </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&amp;&#160;</td>
          <td class="paramname"><em>cr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Disegna l'oggetto. </p>

<p>Reimplementata in <a class="el" href="classgrafo.html#ab70f275f702010df9ba2217de59a28ce">grafo</a>, <a class="el" href="classnodo.html#a57fc7589121e3153815efc93d41bf523">nodo</a>, e <a class="el" href="classarco.html#aa411d733ef99f2937e8b078a2923c7a7">arco</a>.</p>

</div>
</div>
<a class="anchor" id="a98e7ad302abc1681a5e0a7b1facd3213"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gdouble elemento_ui::get_x </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Access x </p>
<dl class="section return"><dt>Restituisce</dt><dd>The current value of x </dd></dl>

</div>
</div>
<a class="anchor" id="ae644078c8941aea0553894201b8df3ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gdouble elemento_ui::get_y </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Access y </p>
<dl class="section return"><dt>Restituisce</dt><dd>The current value of y </dd></dl>

</div>
</div>
<a class="anchor" id="a90d114a53ee426d0b8860b6d2d9b0cfb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gboolean elemento_ui::intersect </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Controlla eventuali collisioni. Controlla se le coordinate del punto passato rientrano all'interno dell'area occupata dall'elemento corrente. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>La coordinata X del punto da controllare </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>La coordinata Y del punto da controllare </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Restituisce</dt><dd>True se il punto fa parte dell'elemento corrente, False altrimenti. </dd></dl>

<p>Reimplementata in <a class="el" href="classnodo.html#ad3ef2bbfee54e00c80d726a34d4e7f92">nodo</a>, e <a class="el" href="classarco.html#abbebe3d245045c8d86cfd8d2f88c3569">arco</a>.</p>

</div>
</div>
<a class="anchor" id="a06eb5f5ee083b2dabae7076d98b9bc38"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gboolean elemento_ui::is_over </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Ritorna se l'oggetto si trova sotto il mouse </p>
<dl class="section return"><dt>Restituisce</dt><dd>TRUE se si trova sotto il mouse </dd></dl>

</div>
</div>
<a class="anchor" id="a9ab317999e0e0fd8e387518507356731"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gboolean elemento_ui::is_selected </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Stato corrente dell'oggetto. Se è stato selezionato oppure no, lo stato viene modificato unicamente dentro la funzione ::update </p>
<dl class="section return"><dt>Restituisce</dt><dd>Lo stato di selezione dell'oggetto </dd></dl>

</div>
</div>
<a class="anchor" id="ae7d306f0eac122a5bc03513e1bdeed8a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void elemento_ui::set_over </td>
          <td>(</td>
          <td class="paramtype">gboolean&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Imposta lo stato di over </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>Il nuovo stato di over </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a62a5a16895f32430e1e3b6918960ffbc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void elemento_ui::set_over </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Imposta lo stato di over in base alle coordinate. Se l'oggetto si trova sotto alle coordinate specificate, allora è in over </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Coordinata X </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Coordinata Y </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7295f173d10999017bdb75367c6cb413"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void elemento_ui::set_selected </td>
          <td>(</td>
          <td class="paramtype">gboolean&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Imposta lo stato di selezione </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>Il nuovo stato di selezione dell'oggetto </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7b50d6b0afb4411c652e77b67760ecd1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void elemento_ui::set_x </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set x </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>New value to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a86e8479239496c2924b68283a553a541"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void elemento_ui::set_y </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set y </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>New value to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5f9504ff39d4de94d48394fae6265ec9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void elemento_ui::update </td>
          <td>(</td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gdouble&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Aggiorna lo stato dell'oggetto. Questa funzione viene chiamata ad ogni evento del mouse, in modo che ogni oggetto possa aggiornarsi. </p>
<dl class="params"><dt>Parametri</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>La coordinata X corrente del mouse </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>La coordinata Y corrente del mouse </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplementata in <a class="el" href="classgrafo.html#a43a038c4b68799daa85f926c2159ea1c">grafo</a>, <a class="el" href="classnodo.html#a4182d015068b3e3bae96c0f614d0125f">nodo</a>, e <a class="el" href="classarco.html#a1600370bdf240be13405de7338b20218">arco</a>.</p>

</div>
</div>
<h2 class="groupheader">Documentazione dei membri dato</h2>
<a class="anchor" id="a6fd98a4e3bcaaf3aecd3b9c8785ea398"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gboolean elemento_ui::over</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Indica se il mouse si trova sopra all'oggetto. </p>

</div>
</div>
<a class="anchor" id="a85bb78cff2e277cefa95cc51919abfa2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gboolean elemento_ui::selected</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Indica se l'oggetto è stato selezionato. </p>

</div>
</div>
<a class="anchor" id="a819a2d328d2634ac037d42c7830023ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gdouble elemento_ui::x</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Coordinata X dell'oggetto. </p>

</div>
</div>
<a class="anchor" id="a9c322c97f219f4e15fdf683cbe14c447"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">gdouble elemento_ui::y</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Coordinata Y dell'oggetto. </p>

</div>
</div>
<hr/>La documentazione per questa classe è stata generata a partire dai seguenti file:<ul>
<li>backup/<a class="el" href="backup_2elemento__ui_8h_source.html">elemento_ui.h</a></li>
<li>backup/<a class="el" href="backup_2elemento__ui_8cc.html">elemento_ui.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 1 Lug 2014 08:14:03 per GraphPaths da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
